-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(zigbee): Increase timeout, commision again on failure + setScanDuration #10651
fix(zigbee): Increase timeout, commision again on failure + setScanDuration #10651
Conversation
👋 Hello P-R-O-C-H-Y, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 61 files 61 suites 5m 49s ⏱️ Results for commit 145097c. ♻️ This comment has been updated with latest results. |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
* fix(zigbee): Increase timeout, commision again on failure + setScanDuration (espressif#10651) * fix(zigbee): Increase timeout, commision again on failure * fix(zigbee): Update library keywords * feat(Matter): add new MatterColorLight endpoint (espressif#10654) * feat(matter): adds Matter Color Light endpoint --------- Co-authored-by: Rodrigo Garcia <[email protected]> Co-authored-by: Jan Procházka <[email protected]>
Description of Change
This PR adds a fix, so there is no need to restart the device after commissioning fails.
The Zigbee will try to connect for 30s to the already joined network, if not successful the
Zigbee.begin()
returnsfalse
meaning a need to device restart.Also added an API to set the scan duration, used when discovering the networks when trying to join.
By default I set the biggest value 4. It can be set within 1-4.
Tests scenarios
Tested locally, no need for device restart at all now.
Always connects / rejoins.
Related links
#10612
#10601